package(default_visibility = ["//mixer/example/servicegraph:__subpackages__"])

load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")

go_library(
    name = "go_default_library",
    srcs = ["main.go"],
    visibility = ["//visibility:private"],
    deps = [
        "//mixer/example/servicegraph:go_default_library",
        "//mixer/example/servicegraph/dot:go_default_library",
        "//mixer/example/servicegraph/promgen:go_default_library",
    ],
)

alias(
    name = "servicegraph",
    actual = ":server",
)

go_binary(
    name = "server",
    library = ":go_default_library",
)
